package com.microcore.service.asserts.impl;

/**
 * @author LeiZhenYang
 * @date 2019.01.07
 */
public class Assertor {

    private String desc;

    private Integer index;

    private Class<? extends IAssert> iAssert;

    public Assertor(String desc, Integer index) {
        this.desc = desc;
        this.index = index;
    }

    public Assertor(String desc, Integer index, Class<? extends IAssert> iAssert) {
        this.desc = desc;
        this.index = index;
        this.iAssert = iAssert;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Integer getIndex() {
        return index;
    }

    public void setIndex(Integer index) {
        this.index = index;
    }

    public Class<? extends IAssert> getiAssert() {
        return iAssert;
    }

    public void setiAssert(Class<? extends IAssert> iAssert) {
        this.iAssert = iAssert;
    }
}
